<?php
// +----------------------------------------------------------------------
// | Description: 1
// +----------------------------------------------------------------------
// | Author: orchief
// +----------------------------------------------------------------------
// | Date: 2018-01-24 17:00:12
// +----------------------------------------------------------------------

namespace app\client\validate;

use think\Validate;

/**
 *
 */
class ShopCart extends Validate
{
    protected $rule = array(
        'UserId' => 'require',
        'ProductId' => 'require',
        'SkuId' => 'require',
        'Quantity' => 'require',
        'ProductName' => 'require',
        'ImgPath' => 'require',
    );
    protected $message = array(
        'UserId.require' => '请输入用户id',
        'ProductId.require' => '请输入商品id',
        'SkuId.require' => '请输入具体商品规格id',
        'Quantity.require' => '请输入数量',
    );
    protected $scene = [

    ];
}
